package com.etlmaster.executor.steps.control;

import com.etlmaster.executor.utils.DpExecutorUtils;

/**
 * @author Larry
 * @copyright Larry@etlMaster
 * @since 2017-09-10
 */
public abstract class AssignProcessor {
	public abstract int process(AssignStepMeta meta);
	protected String expression;
	public int assign(String expression,AssignStepMeta meta){
		this.expression=expression;
		this.expression=DpExecutorUtils.replaceMultiSpaceToOneSpace(this.expression);
		return process(meta);
	}
}
